# -*- shell-script -*-
#!@SHELL@
# -*- shell-script -*-

set -eu
[ x"${GMB_SHELL_DEBUG:-no}" = x"no" ] || set -x

. "@pkglibexecdir@/libgmb"


DIRNAME=$(dirname "${GMB_REPOSITORY_SOURCE_DIR}")
[ -d "${DIRNAME}" ] || mkdir -vp "${DIRNAME}"

gmb_exec -c "${DIRNAME}" git clone "${GMB_PACKAGE_URL}" "${GMB_REPOSITORY_SOURCE_DIR}" 
